#ifndef BASEITEM_H
#define BASEITEM_H

#include <QWidget>

class BaseItem : public QWidget
{
	Q_OBJECT

protected:
	int _x0;
	int _y0;
	int _width;
	int _height;
	bool _pressed;
	bool _moveable;

public:
	explicit BaseItem(QWidget *parent = 0);

	void setPosition(int x, int y);
	void setRect(int width, int height);
	int x();
	int y();
	int width();
	int height();

signals:

public slots:

};

#endif // BASEITEM_H
